package com.xiaohua.tlgorders.service;

import com.xiaohua.tlgorders.entity.Order;
import com.xiaohua.tlgorders.entity.OrderGoods;
import com.xiaohua.tlgorders.tools.Record;

import java.util.List;

/**
 *@Author 小花
 *@Date 2019/7/17 11:50
 **/
public interface OrderService {
    Record modOrderSatus(Order order);


    Record modDataFlag(Order order);


    Record modIsClosed(Order order);

    Record addOrders(Order order, OrderGoods goods);

    String findRepeatOrder(String orderNo);

    void  modIsPay(String orderNo);

    List<String> findTimeValue();

    void  batchMod(String orderNo);

    Record orderCount(String orderNo,Integer orderStatus,Integer userId);

    Record ModIsRefund(Integer isRefund, String orderNo);

    Record ModReason(String orderNo,String rejectOtherReason);
}
